MUI Autodocs: Scale.mui

Copyright © 1997, Stefan Stuntz




Scale.mui Background

        A Scale object generates a percentage scale
        running from 0% to 100%. A good place for
        such an object is e.g. below a fuel gauge.

        Depending on how much space is available,
        the scale will be more or less detailed.

        Due to MUI's automatic layout system, you
        don't need to worry about it's size. When
        placed in a vertical group just below the
        object you want to scale, everything is
        fine.



Scale.mui Attributes

    Attribute                           Ver ISG Type
    ----------------------------------- --- --- --------------------
    MUIA_Scale_Horiz                    V4  ISG BOOL


MUIA_Scale_Horiz

    NAME
        MUIA_Scale_Horiz -- (V4 ) [ISG], BOOL

    FUNCTION
        Indicate whether you want a horizontal or a
        vertical scale.

        Defaults to horizontal.

    BUGS
        Currently, only the horizontal scale is implemented.

    EXAMPLE
        ...
        VGroup,
           Child, GaugeObject, End,
           Child, Scaleobject, End,
           End,
        ...
        /* and everythins is fine... */

    SEE ALSO





© 1997, Stefan Stuntz [MUI Homepage] [Autodoc Index] [Feedback] Updated: 24-Mar-97